<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>用户注册界面</title>
    <style>
        body {
            background-color: #f2f4f6;
            font-family: Arial, Helvetica, sans-serif;
        }

        .container {
            max-width: 400px;
            margin: 0 auto;
            padding: 25px;
        }

        h1 {
            text-align: center;
            color: #2c3e50;
        }

        input[type="text"], input[type="email"], input[type="password"] {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: none;
            border-radius: 5px;
            background-color: #e7ebef;
            font-size: 18px;
        }

        input[type="submit"] {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: none;
            border-radius: 5px;
            background-color: #2c3e50;
            color: white;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        input[type="submit"]:hover {
            background-color: #1d2731;
        }

        label {
            margin-bottom: 5px;
            display: block;
            font-size: 16px;
            color: #2c3e50;
        }
    </style>
</head>
<body>
<div class="container">
    <h1>User Registration</h1>
    <form>
        <label for="username">用户名:</label>
        <input type="text" id="username" name="username" required>

        <label for="email">邮箱:</label>
        <input type="email" id="email" name="email" required>

        <label for="password">密码:</label>
        <input type="password" id="password" name="password" minlength="8" required>

        <label for="confirm-password">确认密码:</label>
        <input type="password" id="confirm-password" name="confirm-password" minlength="8" required>

        <input type="submit" value="注册">
    </form>
</div>
</body>
</html>